
name := "avc-spark-starter"

version := "1.0"

scalaVersion := "2.10.5"

resolvers += "Private Repository" at "http://nexus.avcdata.com/nexus/content/groups/public/"

resolvers += "Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots"

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

resolvers += "Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/"

libraryDependencies += "org.scalatest" % "scalatest_2.10" % "2.2.4" % "test"

libraryDependencies ++= Seq(
  "org.apache.spark" %% "spark-core" % "1.6.0" % "provided",
  "org.apache.spark" %% "spark-mllib" % "1.6.0" % "provided",
  "org.apache.spark" %% "spark-sql" % "1.6.0" % "provided",
  "org.apache.spark" %% "spark-streaming" % "1.6.0",
  "org.apache.spark" %% "spark-streaming-kafka" % "1.6.0"
)

libraryDependencies += "com.fasterxml.jackson.core" % "jackson-databind" % "2.3.3"

mainClass in(Compile, run) := Some("com.avcdata.spark.job.Executor")